from fuzzywuzzy import fuzz

similarity_01 = fuzz.ratio("贞丰县鲁贡农业光伏项目", '贞丰县鲁贡镇风电场')



result = fuzz.extract('贞丰县鲁贡农业光伏项目', '贞丰县鲁贡镇风电场')

print(result)